home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / PInterfaces / ASRegistry.p < prev    next >
Text File  |  1996-05-01  |  12KB  |  294 lines

  1. {
  2.      File:        ASRegistry.p
  3.  
  4.      Contains:    AppleScript Registry constants.
  5.  
  6.      Version:    Technology:    AppleScript 1.1
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT ASRegistry;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __ASREGISTRY__}
  28. {$SETC __ASREGISTRY__ := 1}
  29.  
  30. {$I+}
  31. {$SETC ASRegistryIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __APPLEEVENTS__}
  35. {$I AppleEvents.p}
  36. {$ENDC}
  37. {$IFC UNDEFINED __AEREGISTRY__}
  38. {$I AERegistry.p}
  39. {$ENDC}
  40. {$IFC UNDEFINED __AEOBJECTS__}
  41. {$I AEObjects.p}
  42. {$ENDC}
  43.  
  44. {$PUSH}
  45. {$ALIGN MAC68K}
  46. {$LibExport+}
  47.  
  48. {$IFC FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE }
  49.  
  50. CONST
  51.     keyAETarget                    = 'targ';                        {   0x74617267   }
  52.     keySubjectAttr                = 'subj';                        {   0x7375626a   }
  53.                                                                 {  Magic 'returning' parameter:  }
  54.     keyASReturning                = 'Krtn';                        {   0x4b72746e   }
  55.                                                                 {  AppleScript Specific Codes:  }
  56.     kASAppleScriptSuite            = 'ascr';                        {   0x61736372   }
  57.     kASTypeNamesSuite            = 'tpnm';                        {   0x74706e6d   }
  58.                                                                 {  dynamic terminologies  }
  59.     typeAETE                    = 'aete';                        {   0x61657465   }
  60.     typeAEUT                    = 'aeut';                        {   0x61657574   }
  61.     kGetAETE                    = 'gdte';                        {   0x67647465   }
  62.     kGetAEUT                    = 'gdut';                        {   0x67647574   }
  63.     kUpdateAEUT                    = 'udut';                        {   0x75647574   }
  64.     kUpdateAETE                    = 'udte';                        {   0x75647465   }
  65.     kCleanUpAEUT                = 'cdut';                        {   0x63647574   }
  66.     kASComment                    = 'cmnt';                        {   0x636d6e74   }
  67.     kASLaunchEvent                = 'noop';                        {   0x6e6f6f70   }
  68.     keyScszResource                = 'scsz';                        {   0x7363737A   }
  69.     typeScszResource            = 'scsz';                        {   0x7363737A   }
  70.                                                                 {  subroutine calls  }
  71.     kASSubroutineEvent            = 'psbr';                        {   0x70736272   }
  72.     keyASSubroutineName            = 'snam';                        {   0x736e616d   }
  73.  
  74. {  Operator Events:  }
  75.                                                                 {  Binary:  }
  76.     kASAdd                        = '+   ';                        {   0x2b202020   }
  77.     kASSubtract                    = '-   ';                        {   0x2d202020   }
  78.     kASMultiply                    = '*   ';                        {   0x2a202020   }
  79.     kASDivide                    = '/   ';                        {   0x2f202020   }
  80.     kASQuotient                    = 'div ';                        {   0x64697620   }
  81.     kASRemainder                = 'mod ';                        {   0x6d6f6420   }
  82.     kASPower                    = '^   ';                        {   0x5e202020   }
  83.     kASEqual                    = '=   ';
  84.     kASNotEqual                    = '!=   ';                        {   0xad202020   }
  85.     kASGreaterThan                = '>   ';
  86.     kASGreaterThanOrEqual        = '>=  ';
  87.     kASLessThan                    = '<   ';
  88.     kASLessThanOrEqual            = '<=  ';
  89.     kASComesBefore                = 'cbfr';                        {   0x63626672   }
  90.     kASComesAfter                = 'cafr';                        {   0x63616672   }
  91.     kASConcatenate                = 'ccat';                        {   0x63636174   }
  92.     kASStartsWith                = 'bgwt';
  93.     kASEndsWith                    = 'ends';
  94.     kASContains                    = 'cont';
  95.  
  96.     kASAnd                        = 'AND ';
  97.     kASOr                        = 'OR  ';                        {  Unary:  }
  98.     kASNot                        = 'NOT ';
  99.     kASNegate                    = 'neg ';                        {   0x6e656720   }
  100.     keyASArg                    = 'arg ';                        {   0x61726720   }
  101.  
  102.                                                                 {  event code for the 'error' statement  }
  103.     kASErrorEventCode            = 'err ';                        {   0x65727220   }
  104.     kOSAErrorArgs                = 'erra';                        {   0x65727261   }
  105.                                                                 {  Properties:  }
  106.     pLength                        = 'leng';                        {   0x6c656e67   }
  107.     pReverse                    = 'rvse';                        {   0x72767365   }
  108.     pRest                        = 'rest';                        {   0x72657374   }
  109.     pInherits                    = 'c@#^';                        {   0x6340235e   }
  110.                                                                 {  User-Defined Record Fields:  }
  111.     keyASUserRecordFields        = 'usrf';                        {   0x75737266   }
  112.     typeUserRecordFields        = 'list';
  113.  
  114. {  Prepositions:  }
  115.     keyASPrepositionAt            = 'at  ';                        {   0x61742020   }
  116.     keyASPrepositionIn            = 'in  ';                        {   0x696e2020   }
  117.     keyASPrepositionFrom        = 'from';                        {   0x66726f6d   }
  118.     keyASPrepositionFor            = 'for ';                        {   0x666f7220   }
  119.     keyASPrepositionTo            = 'to  ';                        {   0x746f2020   }
  120.     keyASPrepositionThru        = 'thru';                        {   0x74687275   }
  121.     keyASPrepositionThrough        = 'thgh';                        {   0x74686768   }
  122.     keyASPrepositionBy            = 'by  ';                        {   0x62792020   }
  123.     keyASPrepositionOn            = 'on  ';                        {   0x6f6e2020   }
  124.     keyASPrepositionInto        = 'into';                        {   0x696e746f   }
  125.     keyASPrepositionOnto        = 'onto';                        {   0x6f6e746f   }
  126.     keyASPrepositionBetween        = 'btwn';                        {   0x6274776e   }
  127.     keyASPrepositionAgainst        = 'agst';                        {   0x61677374   }
  128.     keyASPrepositionOutOf        = 'outo';                        {   0x6f75746f   }
  129.     keyASPrepositionInsteadOf    = 'isto';                        {   0x6973746f   }
  130.     keyASPrepositionAsideFrom    = 'asdf';                        {   0x61736466   }
  131.     keyASPrepositionAround        = 'arnd';                        {   0x61726e64   }
  132.     keyASPrepositionBeside        = 'bsid';                        {   0x62736964   }
  133.     keyASPrepositionBeneath        = 'bnth';                        {   0x626e7468   }
  134.     keyASPrepositionUnder        = 'undr';                        {   0x756e6472   }
  135.  
  136.     keyASPrepositionOver        = 'over';                        {   0x6f766572   }
  137.     keyASPrepositionAbove        = 'abve';                        {   0x61627665   }
  138.     keyASPrepositionBelow        = 'belw';                        {   0x62656c77   }
  139.     keyASPrepositionApartFrom    = 'aprt';                        {   0x61707274   }
  140.     keyASPrepositionGiven        = 'givn';                        {   0x6769766e   }
  141.     keyASPrepositionWith        = 'with';                        {   0x77697468   }
  142.     keyASPrepositionWithout        = 'wout';                        {   0x776f7574   }
  143.     keyASPrepositionAbout        = 'abou';                        {   0x61626f75   }
  144.     keyASPrepositionSince        = 'snce';                        {   0x736e6365   }
  145.     keyASPrepositionUntil        = 'till';                        {   0x74696c6c   }
  146.  
  147.                                                                 {  Terminology & Dialect things:  }
  148.     kDialectBundleResType        = 'Dbdl';                        {   0x4462646c   }
  149.                                                                 {  AppleScript Classes and Enums:  }
  150.     cConstant                    = 'enum';
  151.     cClassIdentifier            = 'pcls';
  152.     cObjectBeingExamined        = 'exmn';
  153.     cList                        = 'list';
  154.     cSmallReal                    = 'sing';
  155.     cReal                        = 'doub';
  156.     cRecord                        = 'reco';
  157.     cReference                    = 'obj ';
  158.     cUndefined                    = 'undf';                        {   0x756e6466   }
  159.     cSymbol                        = 'symb';                        {   0x73796d62   }
  160.     cLinkedList                    = 'llst';                        {   0x6c6c7374   }
  161.     cVector                        = 'vect';                        {   0x76656374   }
  162.     cEventIdentifier            = 'evnt';                        {   0x65766e74   }
  163.     cKeyIdentifier                = 'kyid';                        {   0x6b796964   }
  164.     cUserIdentifier                = 'uid ';                        {   0x75696420   }
  165.     cPreposition                = 'prep';                        {   0x70726570   }
  166.     cKeyForm                    = 'kfrm';
  167.     cScript                        = 'scpt';                        {   0x73637074   }
  168.     cHandler                    = 'hand';                        {   0x68616e64   }
  169.     cProcedure                    = 'proc';                        {   0x70726f63   }
  170.  
  171.     cClosure                    = 'clsr';                        {   0x636c7372   }
  172.     cRawData                    = 'rdat';                        {   0x72646174   }
  173.     cString                        = 'TEXT';
  174.     cStringClass                = 'TEXT';
  175.     cNumber                        = 'nmbr';                        {   0x6e6d6272   }
  176.     cListOrRecord                = 'lr  ';                        {   0x6c722020   }
  177.     cListOrString                = 'ls  ';                        {   0x6c732020   }
  178.     cListRecordOrString            = 'lrs ';                        {   0x6c727320   }
  179.     cNumberOrDateTime            = 'nd  ';                        {   0x6e642020   }
  180.     cNumberDateTimeOrString        = 'nds ';                        {   0x6e647320   }
  181.     cSeconds                    = 'scnd';                        {   0x73636e64   }
  182.     enumBooleanValues            = 'boov';                        {   0x626f6f76   }
  183.     kAETrue                        = 'true';
  184.     kAEFalse                    = 'fals';
  185.     enumMiscValues                = 'misc';                        {   0x6d697363   }
  186.     kASCurrentApplication        = 'cura';                        {   0x63757261   }
  187.                                                                 {  User-defined property ospecs:  }
  188.     formUserPropertyID            = 'usrp';                        {   0x75737270   }
  189.  
  190.                                                                 {  Global properties:  }
  191.     pASIt                        = 'it  ';                        {   0x69742020   }
  192.     pASMe                        = 'me  ';                        {   0x6d652020   }
  193.     pASResult                    = 'rslt';                        {   0x72736c74   }
  194.     pASSpace                    = 'spac';                        {   0x73706163   }
  195.     pASReturn                    = 'ret ';                        {   0x72657420   }
  196.     pASTab                        = 'tab ';                        {   0x74616220   }
  197.     pASPi                        = 'pi  ';                        {   0x70692020   }
  198.     pASParent                    = 'pare';                        {   0x70617265   }
  199.     kASInitializeEventCode        = 'init';                        {   0x696e6974   }
  200.     pASPrintLength                = 'prln';                        {   0x70726c6e   }
  201.     pASPrintDepth                = 'prdp';                        {   0x70726470   }
  202.     pASTopLevelScript            = 'ascr';                        {   0x61736372   }
  203.  
  204.                                                                 {  Considerations  }
  205.     kAECase                        = 'case';                        {   0x63617365   }
  206.     kAEDiacritic                = 'diac';                        {   0x64696163   }
  207.     kAEWhiteSpace                = 'whit';                        {   0x77686974   }
  208.     kAEHyphens                    = 'hyph';                        {   0x68797068   }
  209.     kAEExpansion                = 'expa';                        {   0x65787061   }
  210.     kAEPunctuation                = 'punc';                        {   0x70756e63   }
  211.     kAEZenkakuHankaku            = 'zkhk';                        {   0x7a6b686b   }
  212.     kAESmallKana                = 'skna';                        {   0x736b6e61   }
  213.     kAEKataHiragana                = 'hika';                        {   0x68696b61   }
  214.                                                                 {  AppleScript considerations:  }
  215.     kASConsiderReplies            = 'rmte';                        {   0x726d7465   }
  216.     enumConsiderations            = 'cons';                        {   0x636f6e73   }
  217.  
  218.     cCoercion                    = 'coec';                        {   0x636f6563   }
  219.     cCoerceUpperCase            = 'txup';                        {   0x74787570   }
  220.     cCoerceLowerCase            = 'txlo';                        {   0x74786c6f   }
  221.     cCoerceRemoveDiacriticals    = 'txdc';                        {   0x74786463   }
  222.     cCoerceRemovePunctuation    = 'txpc';                        {   0x74787063   }
  223.     cCoerceRemoveHyphens        = 'txhy';                        {   0x74786879   }
  224.     cCoerceOneByteToTwoByte        = 'txex';                        {   0x74786578   }
  225.     cCoerceRemoveWhiteSpace        = 'txws';                        {   0x74787773   }
  226.     cCoerceSmallKana            = 'txsk';                        {   0x7478736b   }
  227.     cCoerceZenkakuhankaku        = 'txze';                        {   0x74787a65   }
  228.     cCoerceKataHiragana            = 'txkh';                        {   0x74786b68   }
  229.                                                                 {  Lorax things:  }
  230.     cZone                        = 'zone';                        {   0x7a6f6e65   }
  231.     cMachine                    = 'mach';                        {   0x6d616368   }
  232.     cAddress                    = 'addr';                        {   0x61646472   }
  233.     cRunningAddress                = 'radd';                        {   0x72616464   }
  234.     cStorage                    = 'stor';                        {   0x73746f72   }
  235.  
  236.                                                                 {  DateTime things:  }
  237.     pASWeekday                    = 'wkdy';                        {   0x776b6479   }
  238.     pASMonth                    = 'mnth';                        {   0x6d6e7468   }
  239.     pASDay                        = 'day ';                        {   0x64617920   }
  240.     pASYear                        = 'year';                        {   0x79656172   }
  241.     pASTime                        = 'time';                        {   0x74696d65   }
  242.     pASDateString                = 'dstr';                        {   0x64737472   }
  243.     pASTimeString                = 'tstr';                        {   0x74737472   }
  244.                                                                 {  Months  }
  245.     cMonth                        = 'mnth';
  246.     cJanuary                    = 'jan ';                        {   0x6a616e20   }
  247.     cFebruary                    = 'feb ';                        {   0x66656220   }
  248.     cMarch                        = 'mar ';                        {   0x6d617220   }
  249.     cApril                        = 'apr ';                        {   0x61707220   }
  250.     cMay                        = 'may ';                        {   0x6d617920   }
  251.     cJune                        = 'jun ';                        {   0x6a756e20   }
  252.     cJuly                        = 'jul ';                        {   0x6a756c20   }
  253.     cAugust                        = 'aug ';                        {   0x61756720   }
  254.     cSeptember                    = 'sep ';                        {   0x73657020   }
  255.     cOctober                    = 'oct ';                        {   0x6f637420   }
  256.     cNovember                    = 'nov ';                        {   0x6e6f7620   }
  257.     cDecember                    = 'dec ';                        {   0x64656320   }
  258.  
  259.                                                                 {  Weekdays  }
  260.     cWeekday                    = 'wkdy';
  261.     cSunday                        = 'sun ';                        {   0x73756e20   }
  262.     cMonday                        = 'mon ';                        {   0x6d6f6e20   }
  263.     cTuesday                    = 'tue ';                        {   0x74756520   }
  264.     cWednesday                    = 'wed ';                        {   0x77656420   }
  265.     cThursday                    = 'thu ';                        {   0x74687520   }
  266.     cFriday                        = 'fri ';                        {   0x66726920   }
  267.     cSaturday                    = 'sat ';                        {   0x73617420   }
  268.                                                                 {  AS 1.1 Globals:  }
  269.     pASQuote                    = 'quot';                        {   0x71756f74   }
  270.     pASSeconds                    = 'secs';                        {   0x73656373   }
  271.     pASMinutes                    = 'min ';                        {   0x6d696e20   }
  272.     pASHours                    = 'hour';                        {   0x686f7572   }
  273.     pASDays                        = 'days';                        {   0x64617973   }
  274.     pASWeeks                    = 'week';                        {   0x7765656b   }
  275.                                                                 {  Writing Code things:  }
  276.     cWritingCodeInfo            = 'citl';                        {   0x6369746c   }
  277.     pScriptCode                    = 'pscd';                        {   0x70736364   }
  278.     pLangCode                    = 'plcd';                        {   0x706c6364   }
  279.                                                                 {  Magic Tell and End Tell events for logging:  }
  280.     kASMagicTellEvent            = 'tell';                        {   0x74656c6c   }
  281.     kASMagicEndTellEvent        = 'tend';                        {   0x74656e64   }
  282.  
  283. {$ENDC}
  284. {$ALIGN RESET}
  285. {$POP}
  286.  
  287. {$SETC UsingIncludes := ASRegistryIncludes}
  288.  
  289. {$ENDC} {__ASREGISTRY__}
  290.  
  291. {$IFC NOT UsingIncludes}
  292.  END.
  293. {$ENDC}
  294.